package tsli.acm.dao;

import java.util.List;
import java.util.Map;

import tsli.acm.database.Database;

public class DtyCdDAO {
	private Database db;
	
	public DtyCdDAO(Database db) {
		 this.db = db;
	 }
	 
	 public List<Map<String, Object>> getAllDtyCd() {
			String vaSql = "SELECT * "
					+ "FROM TSLI_DTY_CD";
			List<Map<String, Object>> result = db.queryList(vaSql);
	        
	        if (result != null && result.size() > 0) {
	            return result;
	        } else {
	            return null;
	        }
		}
}
